/*
 * @Author: wangqizhang
 * @Date: 2024-05-23 16:05:16
 * @LastEditors: wangqizhang
 * @LastEditTime: 2024-05-24 18:51:49
 * @FilePath: /suixinji-react/src/components/SuperMd/index.tsx
 * @Description:
 *
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
 */
import { MdEditor } from 'md-editor-rt';
import 'md-editor-rt/lib/style.css';

const SuperMd = (props: any) => {
  const { onChange, value } = props;
  return (
    <MdEditor
      style={{ height: '100%', minHeight: '500px' }}
      modelValue={value}
      onChange={(value) => onChange(value)}
    ></MdEditor>
  );
};
export default SuperMd;
